package com;

import com.config.AppConfig;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Author: zhaopeng
 * @Date: Created in 10:47 2020/9/29
 * @Modified By:
 */
public class Test {
	public static void main(String[] args) {
		AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext(AppConfig.class);
		ac.removeBeanDefinition("student");
		System.out.println("销毁之后");
	}
}
